package com.agui;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "spring-cloud-example-biz-b")
public interface RemoteService {
    /**
     * 方法调用B服务 访问路径为B方法访问路径
     * @return
     */
    @GetMapping("/hello/test")
    String sayHello();
}
